//app.js
let {
  formatDate,
  formatTime
} = require('./utils/util.js')

App({
  /**
   *小程序初始化完成时，会触发onLaunch（全局只触发一次）
   */
  onLaunch: function() {
  },

  globalData: {
    // normal_url: "http://192.168.1.101:8081/",
    // static_url: "http://192.168.1.101:8081/static/",
    normal_url: "http://127.0.0.1:8084/",
    static_url: "http://127.0.0.1:8084/static/",
    // normal_url: "http://fzk.nat300.top/",
    // static_url: "http://fzk.nat300.top/static/",
    // normal_url: "https://suse.supertange.com/",
    // static_url: "https://suse.supertange.com/static/",
    // normal_url: "https://test.buaagsu.com:8081/",
    // static_url: "https://test.buaagsu.com:8081/static/",
    userInfo: [],
    userInfoByToken: null,
  },
  timePicker: {
    date: formatDate(new Date()),
    time: formatTime(new Date())

  }
})